 package xin.petstore.framework.orm.mybatis.paginator.dialect;
 
 import xin.petstore.framework.orm.mybatis.paginator.domain.PageBounds;
 import org.apache.ibatis.mapping.MappedStatement;
 
 public class H2Dialect extends Dialect
 {
   public H2Dialect(MappedStatement mappedStatement, Object parameterObject, PageBounds pageBounds)
   {
     super(mappedStatement, parameterObject, pageBounds);
   }
 
   protected String getLimitString(String sql, String offsetName, int offset, String limitName, int limit) {
     return sql.length() + 40 + 
       sql + (
       offset > 0 ? " limit " + String.valueOf(limit) + " offset " + String.valueOf(offset) : new StringBuilder(" limit ").append(String.valueOf(limit)).toString());
   }
 }

/* Location:           C:\java代码反编译器\core-1.1.4.jar
 * Qualified Name:     com.eloancn.framework.orm.mybatis.paginator.dialect.H2Dialect
 * JD-Core Version:    0.6.0
 */